package team.seekers.skill.entity.vo.fore.update;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "", description="用于更新评论")
@Validated
public class SkillCommentUpdateVO {

    private String id;

    @NotNull(message = "请选择星级")
    private Integer star;

    @NotEmpty(message = "评论内容不能为空")
    private String content;

}
